<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>links</title>
    </head>
	<body>
		<div>
			
		<? include ('inc/header.php');
		include('inc/nav.php');
		?>
		<?
			$name = 'Nagarjun';
			//echo "Hello $name";
			$arr = array('Hello','World');
			$arr[1] = 'Planet';
			$arr[] = 'Earth';
			
			$table = array('id' => 1, 'role' => 'admin');
			$table["name"]='Nagarjun';
			$table["id"]='02559308';
			$table["email"]='gattu.nagarjun.reddy@gamil.com';
		?>
			<div>
				<?foreach($arr as $item):?>
				<?=$item?> 
				<?endforeach;?>
				
				<table border="1">
				<?foreach($table as $key => $item):?>
				<tr>
					<td><?=$key?></td>
					<td><?=$item?></td>
				</tr>
				<?endforeach;?>
				</table>
			</div>

			<footer>
				<p>
					&copy; Copyright  by New Paltz
				</p>
			</footer>
		</div>
	</body>
</html>
